ps_4_0
dcl_constantbuffer cb5[4], immediateIndexed
dcl_sampler s2, mode_default
dcl_sampler s7, mode_default
dcl_resource_texture2d (float,float,float,float) t2
dcl_resource_texture2d (float,float,float,float) t7
dcl_input_ps linear v0.xyzw
dcl_input_ps linear v1.xyz
dcl_output o0.xyzw
dcl_temps 3
sample r0.xyzw, v0.xyxx, t2.xyzw, s2
mul r0.x, r0.x, r0.x
mul r0.x, r0.x, r0.x
mul r0.xyz, r0.xxxx, v1.xyzx
add r1.xy, v0.zwzz, cb5[3].zzzz
sample r1.xyzw, r1.xyxx, t7.xyzw, s7
add r1.xz, -cb5[3].yywy, l(1.000000e+000, 0.000000e+000, 1.000000e+000, 0.000000e+000)
mad r0.w, r1.y, r1.x, cb5[3].y
mul r0.xyz, r0.wwww, r0.xyzx
mad r1.xy, v0.zwzz, l(1.953125e-003, 1.953125e-003, 0.000000e+000, 0.000000e+000), cb5[3].zzzz
sample r2.xyzw, r1.xyxx, t7.xyzw, s7
mad r0.w, r2.y, r1.z, cb5[3].w
mul o0.xyz, r0.wwww, r0.xyzx
mov o0.w, l(1.000000)
ret